folio add/edit backend