update features permissions
remove tmp folder