updating button spacing