working app with edit/update