update

delete out of function