Security update - SQL bottle neck