Made updateLastFrameTime() private

It is no more needed to be called.