- Updated putMetaData and handleFailure methods