changed deprecated function and added a new column in bookmarks table

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
principal

Signed-off-by: Alexander Skjolden <alex@plastboks.net>