chaiwat update function delete file news