public function update_value( $values, $slug, $post_id ) {
		$values = $this->format_value( $values, $slug, $post_id );
		$values = array_map( function ( $item ) {
			if ( $item instanceof WP_Post ) {
				$item = $this->convert_post_to_item( $item );
			}

			if ( isset( $item->title ) ) {
				unset( $item->title );
			}

			return $item;
		}, $values );

		return papi_maybe_json_decode( $values );
	}