update_focal function

Update current focal for the next iteration