Update function membpos