Fix bug in update of alpha