upate line ending post