update button passes users preferences to update function in form of js object
Merge branch 'master' of https://github.com/giovannic/hack13