update buy links script