update magic numbers