Update last frame time