Update the js and view changes