finish editing