Fixed update_cells error in Python 2.7 #43