deprecated old chain api
updating doc