working on update boxes coordinates (doesn't work)