update rendering position