re-layout
update database to active after contact file generate