update margin-top