Added lock for better updating of weather, hardware and software.