updating elaboration behavior and some css styles