update frame rate on every draw