update source, add init database script