add modif for upload photos