update mthod