update helpers functions