Apply prefix changes