update readme with better after function example