refresh script to automate updating