added edit button, fixed passing object to template
edit interface working except for images, persisting to server. need to debug server save