update loaded scripts