Implemented update attributes methods for Model.