changed database gem