update exists method