Completed ecs-update (still untested).

Added key metadata to tables.