validate input - check it's not empty client is updated too