updates css and map