update the sql files