Another temporary function for updating links