update pass data from back-end to front-end