updated wrapper and ft-api clinet to use raven better