Fixed bug when updating non-existing link