update edit with functions