add optional position and glossary_id fields to payloads