Remove update function from scope