@Sayali1 core components are version-able i.e. when a new version of AEM comes, it will not affect your current functionality. And if you want to use the latest features available in the new version, just change the reference version of core components in your custom component.
You could create a pr...