edit and save basics