checkpoint add and edit in one view