updates for pretty editing