prior to simplifying updatesave and createsave
prior to simplifying updatesave and createsave
refactor updatesave and createsave into model and removed some static calls