update contact save
improve "empty string" detection