rewrite database for try_to_score