Removes console logs and adds page updates as promises in photoPost