error catching to allow db update with new fields