updating visited places