update to new version

Update to new sweetalert version, to use the new timer feature