Update devise to 3.1.x