python3 compliance, updates, deletes