update database ,fix size of columns,and fix repository