complete func update and rename for check