update
promises finished
add getJSON method
refactor