Document update function and use requests instead of wget