update map and default layout for mobile /non mobile