Added update functionality to annotations
Added revert function to cancel editing an annotation