my method is update