Fix errors on update in models. Add view of ID. Add sorting for `get all`.