minor tweaks to formatting for best practices
added update.js