update prepare command