fixed update to align db