Tried to fix the add/update, debug python errors