added update_level trigger to .sql file