added function to revert best links to latest on build