update button margins