Simplified condition in update loop

Closes https://github.com/PistonDevelopers/piston/issues/526