* update morgan sript and refactor for deprecated warning
* fixing show data from API