update database, paddings, sizes