updated gems and changed database update to one year