fixed params in update procedure