change obstacle frequency