Check database file state on update