Add edit entry functionality