implement addPhoto when adding new item