script for update separated