update the default method