add new and edit views