Updates to form alter hook