update for correct params