cls: add more update_inode interface

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>