Made some changes in add_bookmark() function in get_database