upgrade rails and json