Added updating database.