fix udpateOrCreate