updated models and sls code