updated bookmark code