Updating borders and whitespace