updates categories