update css of res item in user page