updated style def and applied