update size when delete images