update spec with JSON, update DB schema