updating with maps