remove db_query with db_update