fixed issue #44 - edit category now updates records