updating and installing the right gems