- update method that allow to call a method after a specify time