Updating the visit keys