updae rotate sample