delete photos when unlinked and add only photos not added