Revise the database