update Rest.js library