add condition for differnet day record
add delete records