add edit interface, save photo functionality