pub fn handle_rollback() -> Result<()>
rollback to previous deployment if boot counter is less than 0