Update dashboard and switch from sqlite to postgres