db update and added errors on create new