Updating borders