updateds API controller to improve importing bookmarks