Map Change of Layout. Database connected