Update the gemfile and Reconstruction the relationships_controller