Add variable to update() for updates per second