updates related to sky subtraction