fixed update function in active listing page