added buttons for editing types
added buttons for editing types