edit review client side logic