add remarks on deprecated api