apply changes