fixed slick query, added Routes object, implemented update JS API