update api record method

ref HOSPIT-9