update fptr definition