quick fix for doctrine storage

when you have a lot of currencies this script uses more then 1024MB RAM !!! This is a quick fix but a better fix is updating instead of removing and creating