added edit functionality to entries
flash messages now appear on successful and failed entry edits