updated through categories and added errors partial