can now save and load svg from db