updating alignment