Adds edit function for individual entries.