Category edit is not working