validation function fixes
update