update to auto compile