updated stylesheet and rules