Add enum, and edit view page