Update mouse input