changes to devise