update opsm sample