update install stuff for supporting compatibility with previous db version
file modes