made some updates for the leash api