update gem dependencies and locations