added setUpdate