Do you mean updating the use to the model instead? 
https://github.com/swilla/pyrocms/blob/e40d4dbc18f11b9541b486bbcf5462ec55aa3d9d/system/cms/modules/navigation/controllers/admin.php#L5