call update function rather than set it (#35)