Fixed Merging Bugs & Added Delete, Refresh