Update mouse method