add the databaseupdate for rest