updated continuous trace formula