update WP reference to sweetalert