Loosen gem dependencies and update gems