Add migration notes about Pk deprecation (update related code samples)