remove more deprecated api calls, replace with new calls