Removes max sdk version and updates target.