mark_gs commands in the database