ER Model update and creation of the SQL for database the structure