Update categories structure