update SQL Query for trackstart