write a proper update db script
add files