views add and edit