*update code delegate button done