remove active entries going to implment it on the user side
Added select entry select handler when user clicks on it
Modified the javascript to use correct syntax and added update functionality