Updated: start update smart meter code