update, fix the dereference