crud view code style update