[update] cost param
[update] change statuscodes