Adds setting for RT index and updates sql update compiler to not use replace into for non RT