debugging setting environment in execute_db_update