- update front-end user codes