update function project