execute function updated