[update] remove duplicated functions