Added update entry functionality