Use base connector and add update support

/to @ritch 
Agree. [].join() is more readable and efficient.