fixed formatting errors
fixed faulty type defs. added edits block. updated required block to match key renames