upgrade alchemist dep and adjust api