refactor User PUT based on json payload