added changes to submit codes directly for a book & to overwrite the previous data for sample notebooks