bug fix for devise user update