You are missing single quotes in "COL_USERID = "+userid
so use this "COL_USERID = '" + userid + "'"
i.e.
Simply,Change this
return database.update(LOGIN_TABLE, initialValues, "COL_USERID = "+userid, null);
to
return database.update(LOGIN_TABLE, initialValues, "COL_USERID = '" + userid + "'", null);