fixed : bug on update