added buttons

added key based value to edit existing data