Update Worker.scala

Cause of exception : Inside updateTablesAsPerNew() - Cannot insert in uninitialized array as array(0). Changed to array+=...