db update fixed