update gem version of rails and devise