change MTM relation, add PhotoAlbum entity need for sort