fixed *args, delete, added session.commit() and session.close() where missing