Update shelly.cpp