adding photos and updating form + index.js