updated style for last element