- updates to handle categories api