Updates repository script