Added an update function
Merge remote-tracking branch 'origin/master'

Conflicts:
	main.js