update block position