Update database full script