Implemented Update class.