update homework data