update stub and validatos