Fix model crud