Update plugin by using Factory class for push registration.