update story functionality added