renated writeAction to dataACtion