added requests from js
updating main