improved updates in the sola.sql and in the get_cadastre_functions.sql