Updated the auto update, and auto download function.