change type from application to library