fixed card storage if userId is updated