add partials and edit feature