Updating profile and adding links between index and profile