update script for python-3.3 and mongodb