update vote up, vote down, favorite function