updates doppelengine and fixes code to comply with changes