handle space, update link