update with the different method