update of Food, TestFood, Obstacle and one method added in Synchronizer