building spec for editing entries