Update mouse behavior