frame and gesture updated