new database.sql updated for key_points