Update# upate database to singleton