working  update feature for single day investigate further