update mouse behave