call back functin working after story created