fix update amazone script error.