update target to library