update of Nfccontroller class