add check if day is already in database