update code for radar