insert some test data && update front-end api