Add updating items functionality