Fix check for update
Change templates to update links correctly