changing map layers structure