updating foramtting for edit space