Add database update functions.