Added get and update methods.