added slim and rails upgrade