added edit button to modify existing entry (version 1.1)