upgraded the version of the when librarby for enhanced promise support