Update a part of margin, padding