Updating database and tests