Update fnd function