Empty string check added for update call