Update paintwithmouse