SQL editor updated