Fix database and gems
facilities change