add gnvm update logic