fix bug where photos of assignments disappear upon editing
take care of licensing in app