update gem and db