with updated mongodb and some different logging