changed database update mechanism (the old one was based on `database.collection('$cmd.sys.inprog')` which isn't available for all mongodb users (on mongohq))