update database connnect