added model to view vars in edit