A template minutia set of a fingerprint comprising template minutiae and a
template interest region is provided. Further, an input minutia set
comprising input minutiae and an input interest region according to an
input fingerprint is provided. The input minutia set is matched with the
template minutia set. All matching template/input minutiae are
determined. Furthermore, an updated template minutia set is determined
dependent on the matching template/input minutiae and the non-matching
template/input minutiae, and dependent on whether the template minutiae
are inside the input interest region or outside of it and whether the
input minutiae are inside the template interest region or outside of it.