Added get and patch metadata methods