rewrite in coffeescript question updater