Update edit function
Merge branch 'master' of github.com:ajolicoe/CS183_Homework1