edit formation