saving  keyword to db