Update function Membrane Position