update api and use backbone js to load data