update helper js