fixed update db command