Updating database functionality