add tag and photo relation part