update databases structures