Replacing static mesh actor with blueprint class

So, I have static meshes in a scene, and now when I created blueprint class, which contains static meshes, I want to replace static mesh actors with blueprint class but it’s not that easy as replacing one static mesh with another static mesh.
Is there any way to do so?