Amendments on the regulatory framework for PVs and wind turbines in municipalities and urban areas