moved the ordering and updating code out of the loop that checks last updated status. issue #52
added unicorn config for heroku deploy