Update snaplayout.jsx