updated hasty API package, some testing