revisions to database and php files