add case for photo edited