Update method added