update frame count by update method