adapt layout and ftpupdate