save layers data