add files and upda db