bug fix for edit functionality for users, items, itemcategories