mock database update