All I have is this, also how do you replace it so the old frame and item doesn't go flying into the air from 2 items occupying same space. Thanks in advance!
/summon ItemFrame x y z {TileX:x,TileY:y,TileZ:z,Direction:0,Item:{id:(Your Enchanted Item or Potion),Count:0},ItemRotation:0}