Added edit log functionality