change table name to castle_gates_keys in sql conditions and README